package com.bosssoft.hr.train.j2se.mybatis.dao;

import com.bosssoft.hr.train.j2se.mybatis.pojo.User;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;


import java.util.List;
@org.apache.ibatis.annotations.Mapper
public interface UserDao extends Mapper<User> , MySqlMapper<User> {



    /**
     * 多表查询， collection 收集
     */
    User selectUserById(Long id);

    /**
     * 分页查询
     */
    List<User> selectAll();

}